﻿#pragma once

#include <QWidget>
QT_BEGIN_NAMESPACE
namespace Ui { class SafetySettingWid; };
QT_END_NAMESPACE

class SafetySettingWid : public QWidget
{
	Q_OBJECT

public:
	SafetySettingWid(QWidget *parent = nullptr);
	~SafetySettingWid();

	void Init();
private:
	void InitGrating();

	void InitSafeDoor();
	void InitAlarmLight();
	void InitSafeLock();

private slots:
	void on_pushButton_gra_add_clicked();
	void on_pushButton_gra_del_clicked();
	void on_pushButton_gra_save_clicked();

	void on_pushButton_1_clicked();
	void on_pushButton_2_clicked();
	void on_pushButton_3_clicked();
private:
	Ui::SafetySettingWid *ui;
};
